﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Data.Infrastructure
{
    public interface IEFEntityBase: IEFEntityBase<Guid>
    {

    }
    public interface IEFEntityBase<TPrimaryKey>
    {




        /// <summary>
        /// 主键
        /// </summary>
        TPrimaryKey Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        Guid? CreateUserId { get; set; }

        /// <summary>
        /// 最后修改人
        /// </summary>
        Guid? ModifiedUserId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        bool IsDelete { get; set; }


        /// <summary>
        /// 最后修改时间
        /// </summary>

        DateTime? ModifiedTime { get; set; }



    }
}
